package wheel;

import java.util.ArrayList;
import java.util.List;

public class M209Wheels {
    List<KeyWheel> keyWheels = new ArrayList<KeyWheel>();
    
    
    public M209Wheels(){
        keyWheels.add(new KeyWheel(1,"ABCDEFGHIJKLMNOPQRSTUVWXYZ",15)) ;
        keyWheels.add(new KeyWheel(2,"ABCDEFGHIJKLMNOPQRSTUVXYZ",14)) ;
        keyWheels.add(new KeyWheel(3,"ABCDEFGHIJKLMNOPQRSTUVX",13)) ;
        keyWheels.add(new KeyWheel(4,"ABCDEFGHIJKLMNOPQRSTU",12)) ;
        keyWheels.add(new KeyWheel(5,"ABCDEFGHIJKLMNOPQRS",11)) ;
        keyWheels.add(new KeyWheel(6,"ABCDEFGHIJKLMNOPQ",10)) ;
    }


    /**
     * @return the keyWheels
     */
    public List<KeyWheel> getKeyWheels() {
        return keyWheels;
    }
    
    
    public String toStringToSave() {
	StringBuilder sBuilder = new StringBuilder();
	for(KeyWheel keyWheel : keyWheels){
	    sBuilder.append(keyWheel.toStringToSave());
	    if(keyWheels.indexOf(keyWheels)!=5){
	    sBuilder.append("\n");
	    }
	}
	return sBuilder.toString();
    }
}
